home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ DirectX Info.xpl < prev    next >
Text File  |  2004-03-01  |  2KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="Information\DirectX"
  5. "NAME"="Most Recent DirectX Apps"
  6. "VERSION"="1.02"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="DirectDraw"
  9. "TEXT 2"="Direct3D"
  10. "DESCRIPTION 1"="This plug-in displays the file name of the last executed DirectDraw and Direct3D applications. Requires DirectX 6.x or higher, latest is always recommended. Download it from http://www.microsoft.com/directx/"
  11. "DESCRIPTION 2"="You can't change anything!!! This is for troubleshooting and informative purposes."
  12. "AUTHOR"="Xteq Systems (CptSiskoX)"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16. "COMMENT 2"="Requires DirectX 6.x or higher, latest is always recommended."
  17.  
  18.  
  19. sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication\"
  20. sV1="Name"
  21.  
  22. sP2="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Direct3D\MostRecentApplication\"
  23. sV3="Name"
  24.  
  25. Sub Plugin_Initialize 
  26.  if GetWinVer=2 or GetWinVer=4 or GetWinVer=6 then
  27.     s=RegReadValue(sP & sV1)
  28.     Call SetUIElement(1,s)
  29.  
  30.     s=RegReadValue(sP2 & sV3)
  31.     Call SetUIElement(2,s)
  32.  else
  33.     Call SetUIElement(1,"N/A")
  34.     Call SetUIElement(2,"N/A")
  35.     Call SetUIElement(3,"N/A")
  36.     Call SetUIElement(4,"N/A")
  37.     Call SetUIElement(5,"N/A")
  38.  end if
  39.  
  40.  
  41.  Call Disable 'user can't change anything!
  42. End Sub
  43.  
  44. Sub Plugin_CheckData(ElementIndex)
  45. End Sub
  46.  
  47. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  48. End Sub
  49.  
  50. Sub Plugin_Terminate 
  51. End Sub
  52.